home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / parityck.arc / PARITYCK.TXT
Encoding:
Text File  |  1987-10-24  |  10.0 KB  |  238 lines

  1.  
  2.  
  3.             Diagnosing Memory Problems
  4.                      by
  5.                 Arnold Kishi
  6.                Hawaii PC Users Group
  7.            [as updated by Jerry Schneider, CPCUG]
  8.  
  9. If you encounter the message "parity error" while operating your PC, a
  10.  malfunction has occurred somewhere in the PC's memory (RAM).  In many
  11.  instances, a parity error can be traced to a defective RAM chip or one
  12.  that is seated poorly in its socket.
  13.  
  14. To find the cause of the parity error, turn off the PC, wait about five
  15.  seconds, and turn it on again.  After flipping the power switch on, the
  16.  PC automatically runs a series of diagnostics which tests different
  17.  parts of the system.  If a memory problem exists, a PARITY CHECK 1 or
  18.  PARITY CHECK 2 error message will appear.  This article will help you
  19.  interpret these error messages, isolate defective memory chips, and
  20.  correct the situation.
  21.  
  22.  
  23. System Board Memory
  24.  
  25. Early PCs have system boards which hold only 64K of RAM.  These system
  26.  boards have four parallel rows (or banks) of nine 16K 4116 RAM chips.
  27.  Newer PCs and XTs with 256K system boards have four parallel rows of
  28.  nine 64K 4164 RAM chips.  In both cases, each row has eight chips for
  29.  memory (data bits) and one for parity checking (parity bit).
  30.  
  31. When facing the PC chassis from the front, the row of chips closest to
  32.  the front is designated row 3, with the next row being row 2, then row
  33.  1, and row 0 next to the expansion slots.  In each row or bank, the
  34.  chip on the extreme left, slightly separated from the data bits, is the
  35.  parity bit chip.
  36.  
  37.  
  38. Expansion Board Memory
  39.  
  40. The amount of memory contained on expansion boards varies widely from
  41.  manufacturer to manufacturer.    While the early expansion memory boards
  42.  only contained 64K memory, the current standard seems to be memory
  43.  boards in one of three configurations:  256K, 384K, or 512K.  Most
  44.  memory boards still use the 64K 4164 RAM chip, although use of the
  45.  newer 256K 41256 RAM chip has become more prevalent as its
  46.  availability has increased and unit cost has dropped substantially
  47.  (from $60/chip to $7/chip during the past six months).  The
  48.  introduction of 80286-based computers like the AT has also impacted the
  49.  popularity of mega-memory expansion cards because the 80286 can address
  50.  up to 16 megabytes of RAM, as compared to the 1 megabyte limitation of
  51.  8088-based PCs.
  52.  
  53. To simplify matters, we will limit our discussion here to those
  54.  expansion memory boards that use the 64K RAM chips.  In general, these
  55.  expansion boards comprise from four (256K) to eight (512K) parallel
  56.  rows of nine 64K memory chips.  The rows are usually arranged
  57.  horizontally, numbered from 1 to 8, and are populated sequentially from
  58.  right to left (row 1 is on the extreme right; row 8 on the extreme
  59.  left).
  60.  
  61.  
  62. Memory Error Messages
  63.  
  64. Now that you know which row is where and its "numeric" position
  65.  indicator, you can begin to isolate which chip may be causing the
  66.  parity error.
  67.  
  68. If your computer has a memory problem, a memory error message will
  69.  appear on the monitor during the start-up diagnostic (Power-On Self
  70.  Test) or when performing system diagnostics.  This memory error message
  71.  consists of two parts:  a four-digit error code followed by the numbers
  72.  201, e.g. 3040 201; and either a PARITY CHECK 1 or PARITY CHECK 2
  73.  message.
  74.  
  75. A PARITY CHECK 1 message indicates that the memory error was detected
  76.  on the system board memory; a PARITY CHECK 2 message identifies a
  77.  memory error on a memory expansion board.
  78.  
  79.  
  80. PARITY CHECK 1 -- System Board Memory Errors
  81.  
  82. The first number of the memory error code indicates which 64K bank of
  83.  memory is involved.  On PCs with 256K system boards, this can be rows
  84.  0, 1, 2, or 3.  On 64K system board PCs, the number 0 represents the
  85.  entire 64K bank of 36 16K chips.
  86.  
  87. For PCs with 64K system boards, the second digit can be 0, 4, 8, or C,
  88.  and points to the 16K bank within the 64K which is failing; 0 is row
  89.  0, 4 is row 1, 8 is row 2, and C is row 3.  In contrast, for PCs with
  90.  256K system boards, the second digit of the error message identifies
  91.  the 4K page in the memory chip that is failing; this number is not
  92.  needed to identify the problem chip and should be ignored.
  93.  
  94. The third and fourth digits represent which bit position (or RAM chip)
  95.  in the 64K row is causing the error condition.  This number represents
  96.  the hexadecimal address of the chip within the row.
  97.  
  98. Table 1 provides the address for each of the chips on a 64K or 256K
  99.  system board:
  100.  
  101.   Bank       64K      256K     Parity  Bit  Bit  Bit    Bit  Bit  Bit  Bit  Bit
  102.   Number  System  System   Bit       0    1    2      3    4    5     6    7
  103.  
  104.    0       00       0x       00      01   02   04     08   10   20    40   80
  105.    1       04       1x       00      01   02   04     08   10   20    40   80
  106.    2       08       2x       00      01   02   04     08   10   20    40   80
  107.    3       0C       3x       00      01   02   04     08   10   20    40   80
  108.  
  109.                M   E   M   O   R   Y      C   H   I   P   S
  110.  
  111.                    F R O N T    O F    C O M P U T E R
  112.  
  113.   Table 1.  System Board Memory Addresses.
  114.  
  115. Using the error message example given earlier, 3040  201, we can
  116.  quickly identify the faulty chip as the eighth chip (Bit 6) in the
  117.  first row from the front (Bank 3) of a 256K system board.
  118.  
  119.  
  120. PARITY CHECK 2 -- Expansion Board Memory Errors
  121.  
  122. The procedures for diagnosing errors in memory contained on expansion
  123.  boards is similar to that used for system board memory diagnosis.
  124.  
  125. The first number of the memory error code indicates which 64K bank of
  126.  memory is involved.  On PCs with 256K system boards, this can be row 4
  127.  or greater; on 64K system board PCs, row 1 or greater.
  128.  
  129. For both 64K and 256K system board PCs, the second digit is not used
  130.  and should be ignored.  The third and fourth digits contain the
  131.  hexadecimal address (within the row) of the problem memory chip.
  132.  
  133. Because there are numerous third-party manufacturers of expansion
  134.  memory boards and because each manufacturer may use a different
  135.  configuration and/or bank numbering scheme, the rules for
  136.  identifying errant memory chip addresses for your expansion board might
  137.  be different.    You should check the documentation provided with your
  138.  expansion board as reference for proper diagnosis of expansion board
  139.  memory problems.
  140.  
  141. For demonstration purposes, however, the following example uses a 384K
  142.  memory expansion board (AST Six Pak Plus), configured with six banks of
  143.  chips, numbered 1 to 6, from right to left.
  144.  
  145. Table 2 provides the address for each of the chips on the expansion
  146.  memory card.  Notice that the starting address for the rows of memory
  147.  chips is different for the 64K and 256K system boards.  This is due to
  148.  the fact that the expansion board rows begin addressing where the
  149.  system board stops:  for the 64K board, starting address is 1x; the
  150.  starting address for the 256K system board is 4x (x can be any number).
  151.  
  152.  
  153. Bank No.      6    5    4     3    2    1
  154.  
  155. 64K System     6x   5x   4x    3x   2x   1x
  156.  
  157. 256K System     9x   8x   7x    6x   5x   4x
  158.  ____________________________________________
  159.  
  160. Parity Bit     00   00   00    00   00   00      M
  161.  
  162. Bit 7         80   80   80    80   80   80      E
  163.  
  164. Bit 6         40   40   40    40   40   40      M
  165.  
  166. Bit 5         20   20   20    20   20   20      O
  167.  
  168. Bit 4         10   10   10    10   10   10      R
  169.  
  170. Bit 3         08   08   08    08   08   08      Y
  171.  
  172. Bit 2         04   04   04    04   04   04      C
  173.                           H
  174. Bit 1         02   02   02    02   02   02      I
  175.                           P
  176. Bit 0         01   01   01    01   01   01      S
  177.  
  178.           BOTTOM OF EXPANSION BOARD
  179.  
  180.  Table 2.  Expansion Board Memory Addresses.
  181.  
  182.  
  183. Using the above table, we can see that a 7120 201 error code identifies
  184.  the errant memory chip as the sixth chip from the bottom (Bit 5) in the
  185.  fourth bank from the right (Bank 4) in a 256K system board machine.
  186.  
  187.  
  188. Correcting Memory Errors
  189.  
  190. Now that we have identified the problem chip, we should verify it by
  191.  replacing it with a spare chip and run the diagnostics again and see
  192.  whether the error is corrected.  If no spare chip is available,
  193.  exchange the suspect chip with another one in an adjacent bank.  If we
  194.  have correctly identified the problem chip, the diagnostics will
  195.  display a different memory code -- that of the location where we put
  196.  the suspected chip.
  197.  
  198. If, however, the error code continues to identify the original
  199.  location, a problem may exist with the socket and you should contact
  200.  your dealer for assistance.
  201.  
  202. If the system board or expansion board switches are not set properly or
  203.  a chip is missing, the bit position in the error code may be AA, FF,
  204.  55, or 01.  If you are experiencing problems with more than one memory
  205.  chip, the bit position code displayed will be the sum (in Hexadecimal)
  206.  of the problem chip locations and consequently, will not match any of
  207.  the values in Table 1 or 2.  When this happens, the resultant error
  208.  code could be any number from FF to 00.  Diagnosis of the errant chips
  209.  will involve a trial and error process of switching several chips from
  210.  the identified row to an adjacent row.
  211.  
  212.  
  213. Reseat Chips Before Switching
  214.  
  215. Before switching chips in the "suspect" row, however, remove all chips
  216.  and reseat them in their sockets.  Run the diagnostics again.    Because
  217.  many parity problems are due to poor contacts between chips and
  218.  sockets, this trick may eliminate the parity error.  RAM chip failures
  219.  are rather rare.
  220.  
  221. The most difficult parity error or memory error to locate is one which
  222.  occurs "intermittently".  For example, heat generated by expansion
  223.  boards, disk drives or other add-ons may cause a memory chip or some
  224.  other memory-related component to shift sufficiently to break the
  225.  electrical contact.  You may never find this particular problem since
  226.  the same set of conditions may not be duplicated exactly during
  227.  diagnostics.
  228.  
  229.  
  230. A Simple, Do-It-Yourself Remedy
  231.  
  232. What has been discussed here is a simple method to troubleshoot your
  233.  PC.  If in doubt, professional service technicians have the tools to
  234.  diagnose memory problems instantly.  But performing these simple checks
  235.  yourself can save you money, especially if the cause is a poorly
  236.  socketed chip.
  237. ly identified the problem chip, the diagnostics will
  238.  display a different memory code -- that of the lo